package com.projectName.www.dao;

import java.util.List;

public interface ComplaintDao {

    /**
     * 查看投书
     * @param uid 用户id
     * @return 返回查询结果list集合
     */
    List<String> queryComplaintByUid(String uid);

    /**
     * 设置投诉
     * @param uid 用户id
     * @param cp 设置投书
     */
    void setComplaint(String uid,String cp);


}
